package com.midou.administration.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *
 * </p>
 *
 * @author MrChen
 * @since 2021-03-24
 */

/**
 * 桌台
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Desk implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "desk_id", type = IdType.AUTO)
    private Integer deskId;

    /**
     * 桌台编号
     */
    private Integer deskCode;

    /**
     * 	桌台类型
     */
    private Integer deskTypeId;

    /**
     * 桌台生成二维码
     */
    private String deskQrCode;

    /**
     * 桌台状态 （ 0 无人状态  1有人 2待清理 3预定)
     */
    private Integer deskStatus;

    /**
     *  桌台可坐多少人
     */
    private Integer deskSize;

    /**
     * 所属商家
     */
    private Integer buId;

    @TableField(exist = false)
    private DeskType deskType;
    /**
     * 座位多少人
     */
    private Integer deskPeopleNumber;

}
